package com.example.project;

import java.util.ArrayList;
import java.util.HashMap;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.ListView;


public class FormulariValoracions extends Activity {
	static ArrayList<HashMap<String, String>> valoracionsList = new ArrayList<HashMap<String, String>>();
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_formulari_valoracions);
		
		final ListView listView = (ListView) findViewById(R.id.list2);

        
        
		
		
		ValAdapter adapter;
        adapter=new ValAdapter(this, valoracionsList);        
        listView.setAdapter(adapter);
		
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.activity_formulari_valoracions, menu);
		return true;
	}

}
